package com.jlc.book.shop.to;

import java.io.Serializable;

public class BookTO implements Serializable{
	private int bookId;
	private String bookName;
	private String author;
	private String publication;
	private String edition;
	private float cost;
	private int selectNumberOfBook;
	public BookTO(){}
	public BookTO(String bookName, String author,
			String publication, String edition, float cost) {
		super();
		this.bookName = bookName;
		this.author = author;
		this.publication = publication;
		this.edition = edition;
		this.cost = cost;
	}
	public int getBookId() {
		return bookId;
	}
	public void setBookId(int bookId) {
		this.bookId = bookId;
	}
	public String getBookName() {
		return bookName;
	}
	public void setBookName(String bookName) {
		this.bookName = bookName;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getPublication() {
		return publication;
	}
	public void setPublication(String publication) {
		this.publication = publication;
	}
	public String getEdition() {
		return edition;
	}
	public void setEdition(String edition) {
		this.edition = edition;
	}
	public float getCost() {
		return cost;
	}
	public void setCost(float cost) {
		this.cost = cost;
	}
	public int getSelectNumberOfBook() {
		return selectNumberOfBook;
	}
	public void setSelectNumberOfBook(int selectNumberOfBook) {
		this.selectNumberOfBook = selectNumberOfBook;
	}
	@Override
	public String toString() {
		
		return ""+bookName+"\t"+author+"\t"+publication+"\t"+edition+"\t"+cost+"\t"+bookId;
	}

}
